package com.boot.service;

import com.boot.entity.User;

import java.util.List;

public interface UserService {

    public User login(String username);

    public List<User> findAllUser();

    /*
    添加用户
     */
    public void addUser(User user);

    /*
    检查用户名是否存在
     */
    public boolean checkUser(String username);

}
